<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>ajax.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="jquery-3.1.0.js"></script>
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
	<script type="text/javascript">
	$(function(){
		$("#bt").click(function(){
			var paramStr=$("form").serialize();
			alert(paramStr);
		})
		
	})
	
	</script>
  </head>
  	<form>
	  	用户名<input type="text" name="us" />
	  	密码<input type="text" name="pwd"/>
	  	
	  	爱好
	  	<input type="checkbox"/>打篮球
	  	<input type="checkbox"/>游泳
	  	<input id="bt" type="button" value="提交"> 
  	</form>
  <body>
   
  </body>
</html>
